home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #1
/
Amiga Plus 1995 #1.iso
/
fish-disketten
/
fish_811-820
/
d818
/
tankhunter
/
tankhunter.lha
/
InstallLibrary
< prev
next >
Wrap
Text File
|
1993-02-13
|
1KB
|
42 lines
.K ""
echo "This script will install the following libraries, after first checking"
echo "to see if you already have one installed:"
echo ""
echo " powerpacker.library"
echo ""
echo "If you have one installed, it will check the version number of the"
echo "installed one and ask if you wish to update it."
echo ""
FailAt 20
ask "Do you wish to continue with the installation? [y/n]"
if not warn
skip NoInstall
endif
if not exists libs:powerpacker.library
echo "No existing powerpacker.library, installing version 35.344..."
copy libs/powerpacker.library libs:powerpacker.library
else
failat 20
echo "Found " noline
version powerpacker.library 35 344
if warn
ask "Do you wish to update libs:powerpacker.library to version 35.344? [y/n]"
if warn
echo "Updating libs:powerpacker.library..."
protect libs:powerpacker.library rwed
copy libs/powerpacker.library libs:powerpacker.library
else
echo "libs:powerpacker.library unchanged."
endif
else
echo "The current installed version is up to date."
endif
endif
lab NoInstall
echo "*nAll Done. Click close gadget to get rid of window."
endcli > nil: